﻿namespace D.Domain.SystemDomain.SysAdminDomain.Entities
{
    /// <summary>
    /// 权限
    /// </summary>
    public record SysPermissionEntity
    {
        /// <summary>
        /// 标识符
        /// </summary>
        public Guid Id { get; init; }

        /// <summary>
        /// 名称
        /// </summary>
        public string? Name { get; init; }

        /// <summary>
        /// 类型
        /// </summary>
        public string? Type { get; init; }

        /// <summary>
        /// 父级
        /// </summary>
        public Guid ParentId { get; init; }
    }
}
